﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LinkAdd.ascx.cs" Inherits="AdminX_Link_LinkAdd" %>
<%@ Register Src="../../Common/Alert.ascx" TagName="Alert" TagPrefix="uc1" %>
<%@ Register Src="../../Common/Textbox.ascx" TagName="Textbox" TagPrefix="uc2" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<div>
    <uc1:Alert ID="MessAlert1" runat="server" />
</div>
<div>
    <div style="float: left; width: 600px">
        <div>
            <asp:Label ID="lblClient" runat="server" Width="100px" CssClass="text" Text="Tên Đối tác"></asp:Label>
            <asp:TextBox ID="txtClient" runat="server" CssClass="boxlongest" MaxLength="200"
                ValidationGroup="Input"></asp:TextBox><span style="color: #ff3333">*</span>
        </div>
        <div>
            <asp:Label ID="lblLink" runat="server" Width="100px" CssClass="text" Text="Đường dẫn"></asp:Label>
            <asp:TextBox ID="txtLink" runat="server" CssClass="boxlong" MaxLength="200" ValidationGroup="Input"></asp:TextBox><span
                style="color: #ff3333">*</span> <span style="color: #330033"><asp:Label ID="lblExampleLink" runat="server" Text=""></asp:Label>
                </span>
        </div>
        <div>
            <asp:Label ID="lblContent" Width="100px" runat="server" CssClass="text" Text="Nội dung"></asp:Label>
        </div>
        <div>
            <uc2:Textbox ID="FTBContent" runat="server"></uc2:Textbox>
        </div>
    </div>
</div>
<div style="width: 100%; float: left; padding: 0px 0px 5px 0px">
    <asp:CheckBox ID="chkDisplayOrder" runat="server" CssClass="text" Text="Ưu tiên hiển thị" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:CheckBox ID="chkActive" runat="server" CssClass="text" Checked="true" Text="Kích hoạt" />
</div>
<div style="width: 100%; float: left; padding: 20px 20px 20px 0px">
    <asp:Button ID="btnSave" runat="server" Text="Lưu" Width="80px" ValidationGroup="Input"
        OnClick="btnSave_Click1" />
    &nbsp;&nbsp;&nbsp;
    <asp:Button ID="btnCancel" runat="server" Text="Quay lại" Width="80px" OnClick="btnCancel_Click" />
</div>
<asp:RequiredFieldValidator ID="rfvTitle" runat="server" SetFocusOnError="true" ControlToValidate="txtClient"
    Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="rfvLink" runat="server" SetFocusOnError="true" ControlToValidate="txtLink"
    Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:ValidationSummary ID="ValidationSummary4" ShowMessageBox="true" runat="server"
    ValidationGroup="Input" ShowSummary="False" />
